<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<table cellspacing="0" >
	<caption style="color:red"><strong>本店优质放心商品</strong></caption>
		<thead>
			<tr>
				<th>商品ID</th>
				<th>管理员ID</th>
				<th>商品名称</th>
				<th>尺寸</th>
				<th>种类</th>
				<th>简介</th>
				<th>库存</th>
				<th>状态</th>
				<th>已销售量</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="hot_goodslist">
				
				<tr>
					
					<td align="right"><s:property value="goodsId" /></td>
					<td align="right"><s:property value="adminId" /></td>
					<td align="right"><s:property value="goodsName" /></td>
					<td align="right"><s:property value="size" /></td>
					<td align="right"><s:property value="kind" /></td>
					<td align="right"><s:property value="introduce" /></td>
					<td align="right"><s:property value="stock" /></td>
					<td align="right"><s:property value="state" /></td>
					<td align="right"><s:property value="totalSales" /></td>
					
				</tr>
				
			</s:iterator>
		</tbody>
	</table>
	
	<br><br>

	<table cellspacing="0" >
	<caption style="color:red"><strong>您最近可能需要的商品</strong></caption>
		<thead>
			<tr>
				<th>商品ID</th>
				<th>管理员ID</th>
				<th>商品名称</th>
				<th>尺寸</th>
				<th>种类</th>
				<th>简介</th>
				<th>库存</th>
				<th>状态</th>
				<th>已销售量</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="need_goodslist">
				
				<tr>
					<td align="right"><s:property value="goodsId" /></td>
					<td align="right"><s:property value="adminId" /></td>
					<td align="right"><s:property value="goodsName" /></td>
					<td align="right"><s:property value="size" /></td>
					<td align="right"><s:property value="kind" /></td>
					<td align="right"><s:property value="introduce" /></td>
					<td align="right"><s:property value="stock" /></td>
					<td align="right"><s:property value="state" /></td>
					<td align="right"><s:property value="totalSales" /></td>
				</tr>
				
			</s:iterator>
		</tbody>
	</table>

</body>
</html>